package com.weavernorth.sysap.bean;

/**
 *数据同步日志实体类
 *
 * @author XvFei
 * @version v1.0 created by 2019-06-24
 */
public class SyncLog {

    //同步数据表的id
    private int id;
    //同步数据的code
    private String syncCode;
    //同步数据的名称
    private String syncName;
    //同步数据的类型 0:组织信息 1:岗位信息 2:用户信息
    private int syncType;
    //同步数据的结果类型0：失败，1：成功
    private int syncInfoType;
    //同步数据的结果原因
    private String syncInfoDesc;
    //同步数据的日期 例：1991-06-25（yyyy-MM-dd）
    private String syncDate;
    //同步数据的时间 例：13:05:30 (HH:mm:ss)
    private String syncTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSyncCode() {
        return syncCode;
    }

    public void setSyncCode(String syncCode) {
        this.syncCode = syncCode;
    }

    public String getSyncName() {
        return syncName;
    }

    public void setSyncName(String syncName) {
        this.syncName = syncName;
    }

    public int getSyncType() {
        return syncType;
    }

    public void setSyncType(int syncType) {
        this.syncType = syncType;
    }

    public int getSyncInfoType() {
        return syncInfoType;
    }

    public void setSyncInfoType(int syncInfoType) {
        this.syncInfoType = syncInfoType;
    }

    public String getSyncInfoDesc() {
        return syncInfoDesc;
    }

    public void setSyncInfoDesc(String syncInfoDesc) {
        this.syncInfoDesc = syncInfoDesc;
    }

    public String getSyncDate() {
        return syncDate;
    }

    public void setSyncDate(String syncDate) {
        this.syncDate = syncDate;
    }

    public String getSyncTime() {
        return syncTime;
    }

    public void setSyncTime(String syncTime) {
        this.syncTime = syncTime;
    }

    @Override
    public String toString() {
        return "SyncLog{" +
                "id=" + id +
                ", syncCode='" + syncCode + '\'' +
                ", syncName='" + syncName + '\'' +
                ", syncType=" + syncType +
                ", syncInfoType=" + syncInfoType +
                ", syncInfoDesc='" + syncInfoDesc + '\'' +
                ", syncDate='" + syncDate + '\'' +
                ", syncTime='" + syncTime + '\'' +
                '}';
    }
}
